package net.entelijan.cobean.bind.impl;

import java.awt.Container;
import java.awt.FlowLayout;

import javax.swing.JFrame;
import javax.swing.JTextField;

public class PathBindingFrame extends JFrame {

    private static final long serialVersionUID = 1L;

    private JTextField inputTextField = createInputTextField("inputTextField");
    
    private JTextField dummyTextField = createInputTextField("dummyTextField");

    public PathBindingFrame() {
        super();
        Container cp = getContentPane();
        cp.setLayout(new FlowLayout());
        cp.add(inputTextField);
        cp.add(dummyTextField);
        pack();
    }
    
    

    private JTextField createInputTextField(String name) {
        JTextField re = new JTextField();
        re.setName(name);
        re.setColumns(10);
        return re;
    }

    public JTextField getInputTextField() {
        return inputTextField;
    }

    public void setInputTextField(JTextField inputTextField) {
        this.inputTextField = inputTextField;
    }

    public JTextField getDummyTextField() {
        return dummyTextField;
    }

    public void setDummyTextField(JTextField dummyTextField) {
        this.dummyTextField = dummyTextField;
    }

}
